<template>
	<view class="content" :style="{backgroundImage:`url(${indexBackgroundImage})`}">
		<view class="main">
			<view class="title">
				<view class="h1">
					<text>忘记密码</text>
				</view>
			</view>
			<view class="login">
				<view class="tel">
					<image src="/static/login/tel.png" mode=""></image>
					<input type="text"  placeholder="请输入手机号"
					placeholder-style="{
						width: 200px;
						font-size: 30rpx;
						font-family: PingFang SC;
						font-weight: 400;
						color: #fff;
					}"
					value="" />
				</view>
				<view class="code">
					<image src="/static/login/pwd.png" mode=""></image>
					<input type="text"  placeholder="请输入验证码"
					placeholder-style="{
						width: 200px;
						font-size: 30rpx;
						font-family: PingFang SC;
						font-weight: 400;
						color: #fff;
					}"
					value="" />
					<button type="default">获取验证码</button>
				</view>
				<view class="pwd">
					<image src="/static/login/pwd.png" mode=""></image>
					<input type="text"  placeholder="请输入密码（至少6位数）"
					placeholder-style="{
						width: 200px;
						font-size: 30rpx;
						font-family: PingFang SC;
						font-weight: 400;
						color: #fff;
					}"
					value="" />
				</view>
				<view class="pwd">
					<image src="/static/login/pwd.png" mode=""></image>
					<input type="text"  placeholder="请再次输入密码（至少6位数）"
					placeholder-style="{
						width: 200px;
						font-size: 30rpx;
						font-family: PingFang SC;
						font-weight: 400;
						color: #fff;
					}"
					value="" />
				</view>
				<view class="btn">
					<button type="default">登录</button>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	import indexBackgroundImage from "@/static/login/bg1.png"
	export default {
		data() {
			return {
				indexBackgroundImage: indexBackgroundImage
			};
		},
		methods: {
			//跳转列表对应页面
			nextPage(url) {
				uni.navigateTo({
					url: url,
					fail() {
						uni.switchTab({
							url: url,
							fail() {
								uni.showToast({
									title: '暂未开通，敬请期待！',
									icon: 'none'
								});
							}
						});
					}
				});
			}
		}
	}
</script>

<style lang="scss">
.content{
	height: 100vh;
	background-repeat: no-repeat;
	background-size: 100% 100%;
	.main{
		padding: 0 30rpx;
		.title{
			padding-top: 120rpx;
			.h1{
				margin-bottom: 80rpx;
				text{
					font-size: 60rpx;
					font-family: PingFang SC;
					font-weight: bold;
					color: #FFFFFF;
				}
			}
		}
		.login{
			padding: 30rpx 30rpx 0 30rpx;
			height: 700rpx;
			border-radius: 50rpx;
			border: #B8C0CB 2rpx solid;
			box-shadow: 0 4rpx 12rpx 0 RGBA(182, 191, 199, 1);
			.tel{
				display: flex;
				align-items: center;
				margin: 0 0 30rpx 0;
				padding: 20rpx;
				height: 100rpx;
				border-radius: 50rpx;
				border: #B8C0CB 2rpx solid;
				box-shadow: 0 4rpx 12rpx 0 RGBA(182, 191, 199, 1);
				image{
					width: 50rpx;
					height: 50rpx;
				}
				input{
					margin-left: 14rpx;
				}
			}
			.code{
				display: flex;
				align-items: center;
				margin-bottom: 30rpx;
				padding: 20rpx;
				height: 100rpx;
				border-radius: 50rpx;
				border: #B8C0CB 2rpx solid;
				box-shadow: 0 4rpx 12rpx 0 RGBA(182, 191, 199, 1);
				image{
					width: 50rpx;
					height: 50rpx;
				}
				input{
					margin-left: 14rpx;
				}
				button{
					padding: 0;
					width: 180rpx;
					height: 60rpx;
					font-size: 24rpx;
					border-radius: 50rpx;
					border: #B8C0CB 2rpx solid;
					box-shadow: 0 4rpx 12rpx 0 RGBA(182, 191, 199, 1);
					background: none;
					color: #FFFFFF;
				}
			}
			.pwd{
				display: flex;
				align-items: center;
				margin: 0 0 30rpx 0;
				padding: 20rpx;
				height: 100rpx;
				border-radius: 50rpx;
				border: #B8C0CB 2rpx solid;
				box-shadow: 0 4rpx 12rpx 0 RGBA(182, 191, 199, 1);
				image{
					width: 50rpx;
					height: 50rpx;
				}
				input{
					margin-left: 14rpx;
					width: 400rpx;
				}
			}
			.btn{
				margin-top: 50rpx;
				button{
					background: #58BEAF;
					border-radius: 50rpx;
					color: #FFFFFF;
					font-weight: bold;
					font-size: 34rpx;
					letter-spacing: 5rpx;
				}
			}
		}
	}
}
</style>
